import Vue from 'vue'
import App from './App.vue'
// 做适配
import '@/mobile/flexible'
// 初始化样式
import '@/styles/reset.css'
// 路由对象
import router from '@/router/index'

import { Tabbar, TabbarItem, NavBar, Col, Row, Image as VanImage, Cell, CellGroup, Icon, Search, List } from 'vant';




Vue.use(List);
Vue.use(Search);
Vue.use(Icon);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(VanImage);
Vue.use(Col);
Vue.use(Row);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar)


// 测试封装api的方法
import { recommendMusicAPI } from './api'
async function fn(){
  const res = await recommendMusicAPI()
  console.log(res)
}
fn()



Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
